package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Entity representing a student liking/favoriting a course
 */
@Data
@TableName("course_like")
public class CourseLike {
    
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    private Integer courseId;
    
    private Integer studentId;
    
    private LocalDateTime createdAt;
} 